<template>
    <div>
        <Card dis-hover class="ivu-mt">
        <Form inline>
            <FormItem>
                <RadioGroup v-model="nurseDate" type="button">
                    <Radio label="今天"></Radio>
                    <Radio label="昨天"></Radio>
                    <Radio label="周"></Radio>
                    <Radio label="月"></Radio>
                </RadioGroup>
            </FormItem>
            <FormItem>
                <DatePicker type="daterange" :clearable="false"></DatePicker>
            </FormItem>
        </Form>
        <Table :columns="columns" :data="data">

        </Table>
        </Card>
    </div>
</template>
<script>
    export default {
        data () {
            return {
                nurseDate: '今天',
                columns: [
                    {
                        title: '项目',
                        key: 'porject',
                        fixed: 'left'
                    },
                    {
                        title: '吴晶晶',
                        key: 'wujing'
                    },
                    {
                        title: '童婷',
                        key: 'tongting'
                    },
                    {
                        title: '徐丽君',
                        key: 'xulijun'
                    },
                    {
                        title: '合计',
                        key: 'total',
                        fixed: 'right'
                    }
                ],
                data: [
                    {
                        porject: '308激光治疗',
                        wujing: '21',
                        tongting: '37',
                        xulijun: '26',
                        total: '84'
                    },
                    {
                        porject: '药浴',
                        wujing: '9',
                        tongting: '6',
                        xulijun: '1',
                        total: '16'
                    }
                ]
            }
        }
    }
</script>
